import ThemeContext from "./context/theme-context"
function NavBar() {
  return (
  <div>
    <ThemeContext.Consumer>
        {value => {
          return <h4>NavBar themeColor : { value.color}</h4>
        }
      }  
    </ThemeContext.Consumer>
  </div>)
}
export default NavBar